<template>
	<view class="noData">
		<view class="noDatat-wrap">
			<view class="noDatat-img">
				<image src="https://gfry.oss-cn-hangzhou.aliyuncs.com/crmebimage/public/content/2024/03/07/icon_nodata.png" mode=""></image>
				暂无数据
			</view>
			<view class="noDatat-btn" @click="goHome">
				去首页逛逛
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goHome() {
				uni.reLaunch({
					url: '/pages/index/index'
				})

			}
		}
	}
</script>

<style lang="scss" scoped>
	.noData {
		.noDatat-wrap {
			.noDatat-btn {
				width: 80%;
				height: 74rpx;
				line-height: 74rpx;
				margin: 0 auto;
				border-radius: 100rpx;
				text-align: center;
				opacity: 1;
				/* margin: 20rpx; */

				color: #fff;

				background: $maincolor;

			}

			.noDatat-img {
				text-align: center;

				margin: 100rpx auto;
				width: 378rpx;
				height: 378rpx;

				image {
					width: 100%;
					height: 100%;
				}
			}

			margin-top: 100rpx;
		}
	}
</style>